Skip to content

feat(speech): a voice app on this computer speaks for the Studio (2.22.0) - #46

Merged
nodemode-ai merged 4 commits into
mainfrom
feat/voice-app
Dec 1, 2026
Merged

nodemode-ai merged 4 commits into
mainfrom
feat/voice-app

Conversation

@nodemode-ai

Copy link
Copy Markdown
Collaborator

feat(speech): a voice app on this computer speaks for the Studio (2.22.0)

Summary

For issue #43, its second part, and the one thing FormMorpheus #31 has that FormCut lacked. Built on main at 2.21.1 (pull request #45).

  • What a person gets. Studio, Local speech, Engine now ends with Voice app on this computer: any separate app that answers the OpenAI-compatible speech API on this computer, such as qwentts.cpp, AudioCpp Desktop or VoiceStudio with a voice cloned in it. Give its address (default http://127.0.0.1:8080) and a key if the app asks for one, press Check, pick its model and voice, and Generate puts the sound on the timeline at the playhead, as the other engines do.
  • Check reads the app's /v1/models and /v1/audio/voices. It says plainly when nothing answers at the address or when the app wants a key. An app that lists neither still works, with its own default model and voice.
  • Text never leaves the computer this way. Only 127.0.0.1, localhost and [::1] are taken, with no proxy and no redirect; a LAN or internet address is refused in words.
  • The key is kept in voice-app.json in the data folder, readable by its owner only, and is never sent back to the window.
  • The sound comes back as WAV, MP3, Ogg or FLAC, capped at 200 MB, and the job can be cancelled.
  • Routes. GET and PUT /api/speech/app, POST /api/speech/app/check, POST /api/speech/app/speak (a job whose result is {"media": ...}, like the other speech jobs).
  • Strings. Seven new phrases in the language pack (nine languages), German, Spanish, Arabic, Persian, Hebrew and Croatian. The wiki's Models page, both HASHOUT logs and the skill's engine map are updated.
  • Not in this pull request. No MCP tool for it, and no subtitles made from the spoken text.

Commits

Oldest first; the release commit is last; no merge commits. The short hashes change when the commits are signed.

  • feat(speech): a voice app on this computer speaks through the OpenAI-compatible speech API
  • feat(studio): Voice app on this computer in Local speech, with Address, Key, Check and Model
  • docs(speech): a voice app on this computer in the Models page, and voice_app.py in the engine map
  • chore(release): 2.22.0, a voice app on this computer speaks for the Studio

Version

v2.22.0 (release commit is last), a minor version for a new feature. Bumped from 2.21.1: the README badge, backend/app/main.py APP_VERSION, form-functions.json, frontend/package.json, frontend/package-lock.json (both fields), src-tauri/Cargo.toml, src-tauri/Cargo.lock and src-tauri/tauri.conf.json. The demo bundles are not rebuilt.

Checks

Run on 30 November 2026, Linux, Python 3.12, Node 22, on this tree:

  • ruff check and ruff format --check clean; setup/notices.py --check passes (no new dependency); setup/skill_maps.py --check in step.
  • tsc --noEmit clean; npm run build built; the language pack's rows all have ten columns.
  • python -m pytest tests: 1,745 passed, 154 skipped, no failures. The window smoke tests in frontend/tests/window: 6 passed. No tests were added.
  • The engine module driven against a stand-in OpenAI-compatible app on loopback: six refused addresses and three normalised ones; Check with nothing listening, with a missing key, and with models and voices listed; the key kept at mode 600 and never returned; a spoken line ingested with the chosen model, voice and speed sent; an HTML reply refused; a 401 passed on in words.
  • The Studio page in headless Chromium at 4x CPU and a slow network, against a scratch engine and the stand-in app: the rows shown for each engine, Check filling Model and Voice, Generate adding the clip at the playhead on the Audio track, a LAN address refused, and back to Kokoro. With keyboard and click input the voice app's steps cause no layout shift. Switching to Pocket TTS or Chatterbox sometimes shows a small shift when their voice list answers late under a slow network; that is the existing code for those engines and is not changed here.

Not run: a real voice app (qwentts.cpp, AudioCpp Desktop, VoiceStudio), Windows and macOS, the Tauri window, the golden frames and output checks (the renderer is not touched).

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

…compatible speech API

For issue 43, second part: narration in a voice cloned in a separate app such as
qwentts.cpp, AudioCpp Desktop or VoiceStudio, which answer the OpenAI-compatible
speech API on this computer, by default at http://127.0.0.1:8080.

New routes under /api/speech/app: GET and PUT for the address, model, voice and
an optional key; POST check, which reads /v1/models and /v1/audio/voices; POST
speak, a speech job that asks /v1/audio/speech for a WAV and ingests the sound
as media, the same result the other speech jobs give. Only 127.0.0.1, localhost
and ::1 are taken, with no proxy and no redirect. The settings are kept in
voice-app.json in the data folder, readable by its owner only, and the key is
never returned.

Seen: driven against a stand-in OpenAI-compatible app on loopback. Not run: a
real voice app, Windows.
…s, Key, Check and Model

The Engine list gains Voice app on this computer. It shows the app's address,
a key field for an app that asks for one, Check, which fills Model and Voice
from what the app lists, and keeps Speed; Generate puts the sound on the
timeline at the playhead as the other engines do. Opening the engine reads the
stored settings only and does not call the app.

Seven new phrases in the language pack, German, Spanish, Arabic, Persian,
Hebrew and Croatian.

Seen: tsc --noEmit, npm run build, and the page in headless Chromium at 4x CPU
and a slow network against a stand-in app, with no layout shift under keyboard
and click input. Not seen: a real voice app or the Tauri window.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner December 1, 2026 06:18
@nodemode-ai
nodemode-ai merged commit 7eef3af into main Dec 1, 2026
8 checks passed
@nodemode-ai
nodemode-ai deleted the feat/voice-app branch December 1, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant